* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

/* 背景图片 */
body {
    width: 100%;
    height: 100%;
    /* background: repeating-linear-gradient(to bottom, #ff0, #0f0); */
    background-image: url(../imgs/imgs1.jpg);
}

/* 右边导航栏 */
.nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    /* background-color: #B7B197; */
    z-index: 1;
}

.nav a {
    width: 86px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin-left: 15px;
    color: black;
    font-size: 20px;
    font-family: 'webfont';
    /* transition: all 1s ease-in-out; */
    transition: first 1s ease-in-out;

}

.nav a:hover {
    /* background-color: rgba(232, 155, 13, .5); */
    width: 86px;
    height: 50px;
    border-bottom: 3px solid rgb(155, 134, 127);
}

.special {
    border-bottom: 2px solid rgba(243, 233, 206, .6);
}

/* 借书证 */
.big {
    display: flex;
    width: 100%;
    height: 100%;
    margin-top: 75px;
    margin-left: 150px;
    /* background-color: tomato; */
}

.big-left {
    width: 350px;
    height: 100%;
    /* background-color: aquamarine; */
}

/* 用户信息 */
.card {
    position: relative;
    /* top: 0; */
    /* float: left; */
    width: 350px;
    height: 250px;
    /* margin-top: 75px;
    margin-left: 150px; */
    border-radius: 15px;
    background-color: rgba(243, 233, 206, .4);
    backdrop-filter: saturate(180%) blur(2px);
    user-select: none;
}

/* 标题 */
.information {
    padding-top: 15px;
    padding-bottom: 10px;
    text-align: center;
    font-family: 'webfont';
    font-size: 25px;
}

/* 用户基本信息 */
.information-detail {
    margin-top: 15px;
    margin-left: 30px;
    font-size: 20px;
    font-family: 'webfont';
}

.borrow-books-remaining {
    width: 100%;
    height: 100px;
    margin-top: 15px;
    border-radius: 20px;
    background-color: rgba(243, 233, 206, .4);
    backdrop-filter: saturate(180%) blur(2px);
    user-select: none;
}

.remainder {
    line-height: 100px;
    text-align: center;
    font-family: 'webfont';
    font-size: 20px;
}

/* 还书表单 */
.return-book {
    width: 750px;
    height: 600px;
    /* margin-top: 75px; */
    margin-left: 25px;
    border-radius: 15px;
    background-color: rgba(243, 233, 206, .4);
    backdrop-filter: saturate(180%) blur(2px);
    user-select: none;
}


.details {
    /* 不设置高度，按照输入的信息多少来定 */
    width: 100%;
}

.displayid {
    display: none;
}

table {
    /* margin-top: 25px; */
    width: 100%;
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid rgba(64, 96, 109, .3);
    text-align: center;
    padding: 10px 0;
}

/* 列表名 */
table .firstTr {
    /* background-color: #008c8c; */
    background-color: rgba(66, 107, 122, 0.9);
    color: #2C2723;
    font-family: 'webfont';
}

/* tr偶数颜色 */
.realitic-content:nth-child(odd) {
    background-color: rgba(111, 129, 131, .3);
    cursor: pointer;
}

.realitic-content:nth-child(even) {
    background-color: rgba(79, 99, 119, 0.6);
    cursor: pointer;
}


.realitic-content:hover {
    background-color: rgba(97, 126, 153, 0.6);
}


/* 还书功能 */
.borrow {
    display: block;
    float: left;
    width: 50px;
    height: 30px;
    margin-left: 30px;
    line-height: 30px;
    border-radius: 5px;
    text-align: center;
    background-color: rgba(230, 202, 141, .5);
    color: rgba(180, 15, 15, 0.8);
    outline-style: none;
    border: 1px solid rgba(230, 202, 141, .5);
    font-family: 'webfont';
}

.borrow:hover {
    color: rgba(230, 17, 17, 0.8);
}

/* 遮盖层 */
.container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 还书遮盖层 */
.container-content {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 25%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    background-color: white;
    font-family: 'webfont';
    border-radius: 10px;
    z-index: 2;
}

.content-detail {
    width: 100%;
    height: 200px;
    text-align: center;
    line-height: 200px;
    font-size: 25px;
    /* background-color: #2C2723; */
    user-select: none;
}

/* 弹框按钮 */
.decoration {
    position: relative;
    top: 40px;
    left: 90px;
    width: 100px;
    height: 50px;
    border: 0;
    outline: none;
    box-shadow: 0 2px 5px rgb(107, 96, 96);
    border-radius: 10px;
    cursor: pointer;
}

/* 确认按钮 */
.determine {
    background-color: rgb(56, 138, 231);
    font-family: 'webfont';
    font-size: 20px;
}

.determine:hover {
    background-color: rgb(23, 126, 244);
}

/* 取消按钮 */
.canle {
    margin-left: 150px;
    background-color: rgb(134, 129, 129);
    font-family: 'webfont';
    font-size: 20px;
}

.canle:hover {
    background-color: rgb(157, 141, 141);
}

/* 借书成功弹框 */
.container1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 2;
}

/* 遮盖层 */
.container1-content1 {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 10%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    /* background-color: white; */
    font-family: 'webfont';
    z-index: 2;
}

/* 还书成功 */
.content1-detail {
    text-align: center;
    font-size: 20px;
    user-select: none;
}

.content1-detail p {
    color: rgb(103, 194, 58);
    width: 350px;
    position: absolute;
    top: -138px;
    margin-left: 90px;
    background-color: rgb(214, 246, 198);
}

/* 还书失败弹框 */
.container2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 2;
}

/* 遮盖层 */
.container2-content2 {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 10%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    /* background-color: white; */
    font-family: 'webfont';
    z-index: 2;
}

/* 还书失败 */
.content2-detail {
    width: 100%;
    height: 200px;
    margin-top: 150px;
    text-align: center;
    font-size: 25px;
    user-select: none;
}

.content2-detail p {
    color: rgb(144, 147, 153);
    width: 350px;
    position: absolute;
    top: -138px;
    margin-left: 90px;
    background-color: rgb(219, 219, 227);
}